package com.cdtu.testdynamicdatasource.mapper.mysql;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
@DS("mysql")
public interface AccountMapper {
    @Select("SELECT * FROM `account`")
    List<Map<String, String>> getAccountList();
}
